//
//  DownLoadImageOperation.h
//  LO_MUSIC
//
//  Created by lanou3g on 16/2/25.
//  Copyright © 2016年 徐强. All rights reserved.

//  自定义线程（自定义线程块）

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class DownLoadImageOperation;
//协议
@protocol DownLoadImageOperationDelegate <NSObject>

- (void)getImage:(UIImage *)image operation:(DownLoadImageOperation *)operation;

@end

@interface DownLoadImageOperation : NSOperation
///图片的链接
@property (nonatomic,strong) NSString *url;

///图片标记
@property (nonatomic,strong) NSIndexPath *indexPath;

///delegate
@property (nonatomic,weak)id<DownLoadImageOperationDelegate>delegate;

@end
